Matthias Clasen [Sun, 19 Nov 2017 13:29:37 +0000 (08:29 -0500)]
Trivial cleanup
Better to use G_SOURCE_REMOVE than FALSE, for clarity.
Matthias Clasen [Sun, 19 Nov 2017 13:28:35 +0000 (08:28 -0500)]
emoji chooser: Don't leak gestures
We were not freeing these gestures as we should.
Benjamin Otte [Sun, 5 Nov 2017 15:12:35 +0000 (16:12 +0100)]
emojichooser: animate the adjustment
... instead of doing a dance with the scrolled window to get it to scroll
the adjustment.
Bastien Nocera [Wed, 22 Nov 2017 14:23:52 +0000 (15:23 +0100)]
frame-clock: Fix typo in API documentation
Daniel Mustieles [Mon, 20 Nov 2017 08:39:00 +0000 (08:39 +0000)]
Update Spanish translation
Daniel Mustieles [Mon, 20 Nov 2017 08:38:35 +0000 (08:38 +0000)]
Update Spanish translation
Muhammet Kara [Sun, 19 Nov 2017 20:13:03 +0000 (20:13 +0000)]
Update Turkish translation
Milo Casagrande [Fri, 17 Nov 2017 13:33:01 +0000 (13:33 +0000)]
Update Italian translation
Milo Casagrande [Fri, 17 Nov 2017 10:51:13 +0000 (10:51 +0000)]
Update Italian translation
Milo Casagrande [Fri, 17 Nov 2017 10:49:34 +0000 (10:49 +0000)]
Update Italian translation
Matthias Clasen [Mon, 13 Nov 2017 17:12:52 +0000 (12:12 -0500)]
icontheme: Add a trailing / when enumerating resources
This avoids extra string copies in GResource.
Matthias Clasen [Mon, 13 Nov 2017 12:35:18 +0000 (07:35 -0500)]
application: Append a / to the icon resource path
g_resources_enumerate_children expects the path to end
in a '/' (even though thats not stated in the docs), and
will copy it if that isn't the case. Avoid the copy
by putting a '/' there to begin with.
Matthias Clasen [Mon, 13 Nov 2017 12:33:35 +0000 (07:33 -0500)]
icontheme: Append a / to the resource path
g_resources_enumerate_children expects the path to end
in a '/' (even though thats not stated in the docs), and
will copy it if that isn't the case. Avoid the copy
by putting a '/' there to begin with.
Benjamin Otte [Mon, 13 Nov 2017 16:06:34 +0000 (17:06 +0100)]
gdk: Fix GDK_ALL_EVENTS_MASK
This mask was forgotten to update when the last 2 event masks were
added, probably because it looks like it's already maxed.
Carlos Soriano [Mon, 30 Oct 2017 20:47:07 +0000 (21:47 +0100)]
gtkplacessidebar: Fix new tab/window handling for cloud accounts
It wasn't taking into account whether the sidebar had support for them
or not, resulting in a file chooser with open in new tab/window menu
items when it's not supported.
To fix it, do as with the other menus and check for the availability of
new tab/window flags.
https://bugzilla.gnome.org/show_bug.cgi?id=786123
Carlos Soriano [Mon, 30 Oct 2017 20:38:41 +0000 (21:38 +0100)]
gtkplacessidebar: Adapt to libcloudproviders 0.2.0
And a few improvements on the way.
https://bugzilla.gnome.org/show_bug.cgi?id=786123
Christian Hergert [Mon, 13 Nov 2017 03:34:46 +0000 (19:34 -0800)]
css: avoid copying resource data
To avoid copying data from gresources to the heap, we can use
the newly added gtk_file_load_bytes(). That function will check
for resource:// URIs and access their internal data directly.
Other URI schemes will read the contents into memory and return
a GBytes as normal.
https://bugzilla.gnome.org/show_bug.cgi?id=790270
Christian Hergert [Mon, 13 Nov 2017 03:26:54 +0000 (19:26 -0800)]
utils: add gtk_file_load_bytes() helper
This helper will load GBytes for a GFile, but try to reuse the
embedded data for a gresource to reduce the chances of copying
data to the heap.
https://bugzilla.gnome.org/show_bug.cgi?id=790270
Benjamin Otte [Mon, 13 Nov 2017 02:51:53 +0000 (03:51 +0100)]
a11y: Handle a treeview with no columns
Code was spewing criticals to stderr because of nonexisting columns. So
check that there's actually an existing column first.
Benjamin Otte [Sun, 12 Nov 2017 05:19:00 +0000 (06:19 +0100)]
progresstracker: Don't hand out NaN
When the duration is set to 0, clamp it to 1us. This way we're almost
correct: We should really instantly finish, but we don't. But we do
respect the delay.
Doing this properly would require some refactoring of how the progress
tracker actually maintains progress, and this is just a quick fix.
Fabio Tomat [Fri, 10 Nov 2017 15:48:06 +0000 (15:48 +0000)]
Update Friulian translation
Kjartan Maraas [Thu, 9 Nov 2017 19:09:40 +0000 (20:09 +0100)]
Updated Norwegian bokmål translation.
Daniel Boles [Thu, 9 Nov 2017 09:44:49 +0000 (09:44 +0000)]
Window: Document get_icon() return as nullable
Daniel Boles [Wed, 8 Nov 2017 06:48:17 +0000 (06:48 +0000)]
CssProvider: Use consistent theme name placeholder
commit
475d916eb92c0106d09525bcca938f05fd6a81b5 added various paths that
use theme-name for this, but the existing path already used THEME, with
a subsequent description referring to the latter. So use that everywhere
Matthias Clasen [Tue, 7 Nov 2017 19:52:24 +0000 (14:52 -0500)]
3.22.26
Dušan Kazik [Tue, 7 Nov 2017 18:24:11 +0000 (18:24 +0000)]
Update Slovak translation
Dušan Kazik [Tue, 7 Nov 2017 18:21:41 +0000 (18:21 +0000)]
Update Slovak translation
Marek Cernocky [Mon, 6 Nov 2017 20:03:47 +0000 (21:03 +0100)]
Updated Czech translation
Rafael Fontenelle [Mon, 6 Nov 2017 18:19:31 +0000 (18:19 +0000)]
Update Brazilian Portuguese translation
Rafael Fontenelle [Mon, 6 Nov 2017 17:53:03 +0000 (17:53 +0000)]
Update Brazilian Portuguese translation
Hannie Dumoleyn [Mon, 6 Nov 2017 16:20:55 +0000 (16:20 +0000)]
Update Dutch translation
Hannie Dumoleyn [Mon, 6 Nov 2017 16:17:20 +0000 (16:17 +0000)]
Update Dutch translation
Mario Blättermann [Mon, 6 Nov 2017 08:35:14 +0000 (08:35 +0000)]
Update German translation
Mario Blättermann [Mon, 6 Nov 2017 08:32:35 +0000 (08:32 +0000)]
Update German translation
Kjartan Maraas [Mon, 6 Nov 2017 08:09:53 +0000 (09:09 +0100)]
Updated Norwegian bokmål translation.
Anders Jonsson [Sun, 5 Nov 2017 21:23:19 +0000 (21:23 +0000)]
Update Swedish translation
Anders Jonsson [Sun, 5 Nov 2017 21:19:06 +0000 (21:19 +0000)]
Update Swedish translation
Piotr Drąg [Sun, 5 Nov 2017 20:47:10 +0000 (21:47 +0100)]
Update Polish translation
Piotr Drąg [Sun, 5 Nov 2017 20:16:59 +0000 (21:16 +0100)]
placessidebar: correct quotation marks in a new string
Alexandru Pandelea [Thu, 20 Jul 2017 15:29:42 +0000 (16:29 +0100)]
placessidebar: add starred location item
Add an item for showing all files marked as favorite. This item will
open all files that have the nao:predefined-tag-favorite tag
https://bugzilla.gnome.org/show_bug.cgi?id=785176
Chun-wei Fan [Mon, 30 Oct 2017 07:00:28 +0000 (15:00 +0800)]
gdk/win32: Fix Win32 GL Context switching
Since on Windows we need to use a good amount of temporary GL contexts,
we need to switch back to the original GL contexts we were using when
we are done with the temporary GL contexts, otherwise multi-GL windows
will cause confusions causing display artifacts and crashes.
Also, use the GdkWin32GLContext::gl_hdc consistently throughout
the code and remove the GdkWin32Display::gl_hdc as Lukas K pointed out
that GdkWin32Display::gl_hdc becomes out-of-date and so the HDC that the
GL context is bound to becomes incorrect in sceanarios using multiple
windows with GtkGLArea/GdkGLArea items (which would cause the artifacts in
programs that use multiple windows with GtkGLArea/GdkGLArea items, and it
turns out that GdkWin32Display::gl_hdc is actually not necessary to help
keep track of the HDCs we use for our GL contexts.
Partly based on patch from Lukas K <lu@0x83.eu>
https://bugzilla.gnome.org/show_bug.cgi?id=789213
Khaled Hosny [Fri, 3 Nov 2017 09:46:43 +0000 (11:46 +0200)]
Update Arabic translation
Daniel Boles [Tue, 31 Oct 2017 19:43:52 +0000 (19:43 +0000)]
Adwaita: Fix Entry:has-frame if backdrop/disabled
by explicitly including these in the selector removing the border, to
avoid other rules on these pseudoclasses overriding the .flat class.
https://bugzilla.gnome.org/show_bug.cgi?id=789733
Daniel Boles [Tue, 31 Oct 2017 19:57:45 +0000 (19:57 +0000)]
HighContrast: Fix GtkEntry:has-frame not working
• Remove the box-shadow at the top when the entry is in the foreground
• Bump precedence so that :disabled entries do not have .flat overridden
• Also add :backdrop to stop HCInverse getting a lighter BG in :backdrop
https://bugzilla.gnome.org/show_bug.cgi?id=789733
Daniel Boles [Thu, 12 Oct 2017 20:09:58 +0000 (21:09 +0100)]
Inspector: better default split of CSS nodes/props
Move the default pos of the Paned handle to 400px from the left, i.e.
50% of the default width of the window. The previous position at 300px
from left meant the node treeview was too narrow & could easily result
in the (useful) State column not being visible in the case of many
apps. The properties pane doesn't need to be as big as it was anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=788898
Julian Sparber [Tue, 31 Oct 2017 01:29:59 +0000 (02:29 +0100)]
AboutDialog: Fix accepting GTK_LICENSE_AGPL_3_0
Add the new GTK_LICENSE_AGPL_3_0 to the allowed enum range checked in
gtk_about_dialog_set_license_type(), so this value is not rejected.
https://bugzilla.gnome.org/show_bug.cgi?id=789678
Julian Sparber [Wed, 18 Oct 2017 11:00:41 +0000 (13:00 +0200)]
icon-browser: Centre Copy button in dialog again
This patch moves the "Copy to Clipboard" button into the same container
as the description label, to centre the button regardless of the number
of icons shown in the grid.
https://bugzilla.gnome.org/show_bug.cgi?id=789134
Daniel Boles [Tue, 31 Oct 2017 18:27:34 +0000 (18:27 +0000)]
gdkmonitor: Fix typo
Daniel Boles [Mon, 23 Oct 2017 08:20:23 +0000 (09:20 +0100)]
SpinButton: Fix typo
Lukas K [Sat, 28 Oct 2017 22:07:34 +0000 (00:07 +0200)]
make GDK_DEBUG=opengl work on win32
Chun-wei Fan [Thu, 31 Aug 2017 10:43:07 +0000 (18:43 +0800)]
input/IME: Defer the emit of the "commit" signal
On Windows, when IME is used, each keystroke results in the
WM_IME_COMPOSITION event being sent first. This means that in our case
when one decides on to accept the input that is in the preedit buffer,
we first get from Windows the WM_IME_COMPOSITION event
(where we emit the commit signal), followed by the WM_IME_ENDCOMPOSITION
event (where we emit the pair of preedit-changed and preedit-end
signals).
Since commit
f11f989 (GtkEntry: Remove recompute idle), we do the input
recomputation directly, this will cause a pair of "Pango-WARNING:
Assertion failed: (index >= 0 && index <= layout->length)" being shown,
as gtkentry.c's priv->preedit_length and priv->preedit_cursor was unable
to be reset to 0 in time as a result of the recomputation triggered by
the commit being done before the reset of priv->preedit_length and
priv->preedit_cursor (which are no longer valid as we essentially say
that we are done with the preedit buffer).
As we could only acquire the final string that was entered in this
preedit session when we handle the WM_IME_COMPOSITION event, fix this by
saving up the final string we acquire from Windows IME in UTF-8 when we
handle the WM_IME_COMPOSITION event from Windows, and emit the commit
signal with that string after we emit the preedit-changed and
preedit-end signals when we handle the WM_IME_ENDCOMPOSITION event from
Windows, which comes afterwards.
Also fix the formatting of the code around the parts of the files that
was changed.
https://bugzilla.gnome.org/show_bug.cgi?id=787142
Simon McVittie [Sun, 29 Oct 2017 17:50:13 +0000 (17:50 +0000)]
wayland: Distribute protocol/server-decoration.xml in tarballs
Otherwise, builds that include the Wayland backend fail.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=789630
Signed-off-by: Simon McVittie <smcv@debian.org>
Reviewed-by: Emmanuele Bassi <ebassi@gnome.org>
Matthias Clasen [Sun, 29 Oct 2017 12:47:41 +0000 (08:47 -0400)]
3.22.25
Matthias Clasen [Sat, 28 Oct 2017 14:22:30 +0000 (10:22 -0400)]
Revert "gdkscreen-x11: Enable RandR on VirtualBox"
This reverts commit
f2ba6ca47322a17b37fb92662fc9552b4f106f10.
This change was causing problems with several X servers,
see https://bugzilla.gnome.org/show_bug.cgi?id=780101
Andrea Azzarone [Thu, 19 Oct 2017 08:36:50 +0000 (08:36 +0000)]
widget: Typecheck before deref in translate_coords
https://bugzilla.gnome.org/show_bug.cgi?id=771279
Federico Mena Quintero [Fri, 27 Oct 2017 22:04:02 +0000 (17:04 -0500)]
GtkPathBar: Centralize handling of outstanding cancellables
The path bar would crash if we disposed it before all pending I/O
operations had finished. Now we remember all the outstanding
operations directly in the GtkPathBarPrivate, and deal with them
consistently.
Matthias Clasen [Fri, 27 Oct 2017 20:12:28 +0000 (16:12 -0400)]
GdkMonitor: Use 1 as scale fallback value
The same value we use in gtk_widget_get_scale_factor.
Olivier Fourdan [Tue, 27 Jun 2017 09:12:57 +0000 (11:12 +0200)]
wayland: scale down reported monitor geometry
According to the documentation, gdk_monitor_get_geometry() reports the
monitor geometry in ”application pixels”, not in ”device pixels”,
meaning that the actual device resolution needs to be scaled down by the
scale factor of the output.
x11 backend does that downscaling, whereas Wayland backend did not,
causing a discrepancy depending on the backend used.
https://bugzilla.gnome.org/show_bug.cgi?id=783995
Simon McVittie [Thu, 26 Oct 2017 15:02:07 +0000 (16:02 +0100)]
GtkWindow: Set tiled class on windows that have any tiled edge
This has no practical effect on Adwaita, but might fix some
third-party themes that were broken by GTK+ 3.22.23.
Signed-off-by: Simon McVittie <smcv@debian.org>
https://bugzilla.gnome.org/show_bug.cgi?id=789357
Simon McVittie [Thu, 26 Oct 2017 14:57:29 +0000 (15:57 +0100)]
GtkHeaderBar: Reconsider buttons if any tiling state changes
Looking at the 1-bit "tiled or not?" state is not necessarily
enough.
Signed-off-by: Simon McVittie <smcv@debian.org>
https://bugzilla.gnome.org/show_bug.cgi?id=789357
Simon McVittie [Thu, 26 Oct 2017 14:51:51 +0000 (15:51 +0100)]
Set GDK_WINDOW_STATE_TILED if any edge is tiled
This state flag is used in several places in GTK+, for example to
ignore RESIZE_INC hints if tiled. Setting it is also necessary for
backwards compatibility with applications that changed their behaviour
when tiled, such as GNOME Terminal and its MATE fork.
Signed-off-by: Simon McVittie <smcv@debian.org>
https://bugzilla.gnome.org/show_bug.cgi?id=789357
Drew DeVault [Sat, 29 Apr 2017 00:35:51 +0000 (20:35 -0400)]
Wayland: Implement KDE's SSD protocol
If the compositor prefers server-side decorations and the client doesn't
customize the title bar, we disable client-side decorations and let the
compositor know. Otherwise, we continue to use client-side decorations.
Signed-off-by: Drew DeVault <sir@cmpwn.com>
https://bugzilla.gnome.org/show_bug.cgi?id=781909
Olivier Fourdan [Wed, 21 Jun 2017 13:02:05 +0000 (15:02 +0200)]
wayland: Do not constrain saved window size
Under Wayland, an xdg_surface.configure with size 0x0 means it's up to
the client to set its size.
When transitioning from maximized state to un-maximized, the Wayland
compositor will send such an 0x0 configure so that the client can
restore its original size.
However, the original size was already constrained, so re-applying
size constrains can lead to a smaller size when using size increments.
Avoid this caveat by not applying size constrains when we are restoring
the original size.
https://bugzilla.gnome.org/show_bug.cgi?id=777072
Florian Müllner [Sun, 22 Oct 2017 22:18:19 +0000 (00:18 +0200)]
appchooserwidget: Don't limit application list unconditionally
As documented, GtkAppChooser is "typically [used] for the purpose of
opening a file". However given that applications that support neither
opening files nor URLs are filtered out, the chooser is not actual
useful for any other (atypical) usage. Change that by only applying
the filtering if a content-type was set, and use the full unfiltered
list otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=789327
Christian Persch [Wed, 11 Oct 2017 18:43:19 +0000 (20:43 +0200)]
actionable: Allow all detailed action name formats
Use g_action_parse_detailed_name() to enable use of this API
for actions with non-string parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=788841
Matthias Clasen [Wed, 12 Apr 2017 17:56:49 +0000 (13:56 -0400)]
wayland: Don't spew warnings for blank cursors
We were unnecessarily spewing warnings when blank cursors
were getting a new scale set. Standardize on "none" as the
name for blank cursors, and avoid the warning.
https://bugzilla.gnome.org/show_bug.cgi?id=775217
Andrea Azzarone [Wed, 25 Oct 2017 13:34:47 +0000 (09:34 -0400)]
gdk: Clear GL context when window is withdrawn
Some clients (e.g. gnome-online-accounts) quickly unmap and map
a window. With some backends the backend surface will be replaced
causing the application to crash because the GL context is still
using the old surface. Clearing the GL context when a window is
withdrawn fixes this.
https://bugzilla.gnome.org/show_bug.cgi?id=789141
Chun-wei Fan [Fri, 20 Oct 2017 09:01:30 +0000 (17:01 +0800)]
Visual Studio builds: Improve binary security
Ensure that the /DYNAMICBASE linker option (which is actually the
default) is enabled for all of our Visual Studio project builds, as the
gtk3-demo projects inadvertly disabled it.
Also, for x64 builds on MSVC 2012 or later, enable /HIGHENTROPYVA to
enhance the security of our binaries as well.
Pointed out by Ignacio Casal Quinteiro.
Kukuh Syafaat [Fri, 20 Oct 2017 05:53:07 +0000 (05:53 +0000)]
Update Indonesian translation
Michael Catanzaro [Fri, 20 Oct 2017 00:47:30 +0000 (19:47 -0500)]
Revert "gdk/wayland: Avoid idempotent wl_subsurface.set_position calls"
This reverts commit
8aa6d59b7a214ba03a83bcae8c43712f8e402927.
This caused a regression in totem that still needs to be investigated.
https://bugzilla.gnome.org/show_bug.cgi?id=784314
Carlos Garnacho [Thu, 19 Oct 2017 11:55:34 +0000 (13:55 +0200)]
gtkwidget: Emulate motion before button press on fallback touch handler
The code has been shuffled so GDK_TOUCH_BEGIN results in a
GDK_MOTION_NOTIFY to the new position and a GDK_BUTTON_PRESS on that same
place. This makes pointer emulation consistent with what X11 does. Even
though button presses have x/y arguments, there's code out there relying
on getting prior motion events.
Debarshi Ray [Wed, 18 Oct 2017 13:35:19 +0000 (15:35 +0200)]
GtkGestureZoom: Don't leak the list of sequences
https://bugzilla.gnome.org/show_bug.cgi?id=789149
Timm Bäder [Tue, 17 Oct 2017 06:49:06 +0000 (08:49 +0200)]
emojichooser: Plug memory leak
Julian Sparber [Mon, 7 Aug 2017 21:33:42 +0000 (23:33 +0200)]
icon-browser: Add scalable icons to icon detail modal window
When making mockups for GNOME apps in Inkscape, looking for symbolic
icons is a common task. Searching for icons in the file system is clumsy,
and icon-browser provides a much better interface for finding them.
However, currently there is no way to insert the symbolic icons as SVG
directly from icon-browser, so right now it is only useful for finding
the name.
This patch adds a sixth column to the modal window that appears when
clicking a symbolic icon. The icon in this column is labeled "scalable",
and dragging it onto another window results in the vector icon URI being
inserted.
This enables a much simpler workflow when designing with symbolic icons.
https://bugzilla.gnome.org/show_bug.cgi?id=778930
Carlos Garnacho [Thu, 5 Oct 2017 23:06:03 +0000 (01:06 +0200)]
gdk/wayland: Avoid idempotent wl_subsurface.set_position calls
These may not result on wl_surface.frame callbacks, yet we do trigger
a frame clock tick that would get stuck on the lack of such callback.
https://bugzilla.gnome.org/show_bug.cgi?id=784314
Aurimas Černius [Sun, 15 Oct 2017 18:24:22 +0000 (21:24 +0300)]
Updated Lithuanian translation
Daniel Boles [Sun, 15 Oct 2017 11:55:22 +0000 (12:55 +0100)]
a11y/entry: Fixups for previous commit
We still declare all variables at the start of the block.
Also, we can use the fast private _gtk_widget_get_allocation().
https://bugzilla.gnome.org/show_bug.cgi?id=784509
Samuel Thibault [Thu, 5 Oct 2017 15:49:00 +0000 (15:49 +0000)]
a11y/entry: Fix text coords not adjusted for alloc
What is missing is the "allocation" part of x/y coordinates. Since
gtk_entry_realize doesn't call gtk_widget_set_window(priv->text_area),
the coordinates returned by gdk_window_get_origin don't include it.
This patch fixes this.
https://bugzilla.gnome.org/show_bug.cgi?id=784509
Timm Bäder [Sun, 8 Oct 2017 18:15:39 +0000 (20:15 +0200)]
scalebutton: Fix comparison for empty icon list
https://bugzilla.gnome.org/show_bug.cgi?id=786220
Daniel Boles [Sat, 14 Oct 2017 17:45:20 +0000 (18:45 +0100)]
Range: Fix inverted horizontal scroll wheel events
Bug 737175 aimed to ensure that scrolling up on a horizontal range would
result in its value increasing, as that’s what users intuitively expect.
However, its commit
416c370da1d2eff2458e4a0c5b8e504cd8061559 meant that,
if the event gives scroll deltas, we inverted our delta unconditionally.
So it broke horizontal scrolling: scrolling left moved the slider right…
We must only invert if using dy as delta. dx already has the right sign,
so inverting it was wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=788905
gogo [Sat, 14 Oct 2017 16:37:05 +0000 (16:37 +0000)]
Update Croatian translation
Christian Kirbach [Sat, 14 Oct 2017 12:44:32 +0000 (12:44 +0000)]
Update German translation
Emmanuele Bassi [Fri, 13 Oct 2017 09:55:00 +0000 (10:55 +0100)]
Fix previous commit
The _gtk_widget_get_parent() private accessor is defined inside
gtkwidgetprivate.h.
Daniel Boles [Thu, 12 Oct 2017 13:05:09 +0000 (14:05 +0100)]
Fixed: If can’t add child, don’t add to child info
If the call to set_parent() failed, we were still adding the child to
the internal list of children, despite that it was not really added.
That meant we could later try to do invalid stuff with that non-child.
Fix that by asserting and giving up if the child that the user is
attempting to add is already parented.
https://bugzilla.gnome.org/show_bug.cgi?id=701296
Daniel Boles [Fri, 13 Oct 2017 08:49:34 +0000 (09:49 +0100)]
Fixed: Don’t dereference before typechecking
Daniel Boles [Thu, 12 Oct 2017 23:24:22 +0000 (00:24 +0100)]
icon-browser: Stop repeating folder-documents too
Dušan Kazik [Thu, 12 Oct 2017 20:40:00 +0000 (20:40 +0000)]
Update Slovak translation
Balázs Meskó [Thu, 12 Oct 2017 19:35:05 +0000 (19:35 +0000)]
Update Hungarian translation
Daniel Boles [Thu, 12 Oct 2017 18:40:19 +0000 (19:40 +0100)]
StyleContext: Fix CSS snippet language, node names
The language is useful for parsing tools, such as that of gtkmm, which
otherwise assumes these are C snippets and elides them from its
generated documentation.
The old GtkBlah node names are just plain obsolete.
Daniel Boles [Wed, 11 Oct 2017 21:35:31 +0000 (22:35 +0100)]
Settings: Mention Shift+primary click on Range too
This already existed, and since this doc blurb is already inflating
dramatically, what’s another half a line?
Daniel Boles [Wed, 11 Oct 2017 20:23:20 +0000 (21:23 +0100)]
Settings: Reflect resurrected middleclick in Range
and while here, make the explanation more explicit as to which values do
what, & use general Range terminology instead of focussing on scrollbars
https://bugzilla.gnome.org/show_bug.cgi?id=787669
Matthias Clasen [Wed, 11 Oct 2017 19:07:53 +0000 (14:07 -0500)]
range: Bring back middle clicks
It does not hurt us to keep middle clicks doing the same
as shift-primary clicks. This makes the transition from gtk2
less painful in terms of muscle memory.
https://bugzilla.gnome.org/show_bug.cgi?id=787669
Timm Bäder [Wed, 11 Oct 2017 11:01:27 +0000 (13:01 +0200)]
bindings: Fix code snippet
Just use a more realistic example, adapted from gtklistbox.c
Timm Bäder [Wed, 11 Oct 2017 10:56:42 +0000 (12:56 +0200)]
accellabel: Fix code snippet
Timm Bäder [Wed, 11 Oct 2017 10:55:01 +0000 (12:55 +0200)]
aboutdialog: Fix code snippets
Define all variables and fix a missing comma in the first
gtk_show_about_dialog call.
Timm Bäder [Wed, 11 Oct 2017 10:41:47 +0000 (12:41 +0200)]
applicationwindow: Fix code sample
Declare all variables, use proper GtkApplication constructor and the
right GTK_APPLICATION() cast for gtk_application* API.
Daniel Boles [Wed, 11 Oct 2017 20:13:49 +0000 (21:13 +0100)]
ToggleButton: Actually show buttons in new snippet
Also, create a Window, instead of a Dialog without a transient parent,
which is (noisily) discouraged. Then s/content_area/box/g to match.
Timm Bäder [Wed, 11 Oct 2017 10:35:55 +0000 (12:35 +0200)]
togglebutton: Fix code snippet
Remove gtk_box_pack_start usage, gtk_dialog_get_content_area, fix wrong
gtk_dialog_new parameters and actually add a output_state callback.
Timm Bäder [Wed, 11 Oct 2017 10:18:22 +0000 (12:18 +0200)]
label: Make all code snippets properly compile
Robert Ancell [Tue, 26 Sep 2017 19:31:44 +0000 (15:31 -0400)]
gdk: Fix gdk_screen_get_monitor_workarea not returning work area
This was introcuced in the commit
0611cb4823c (GTK+ 3.22).